﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainCont.Master" AutoEventWireup="true"
    CodeBehind="AnnouncementEdit.aspx.cs" Inherits="Thksoft.Module.ParameterSettings.AnnouncementEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../../Scripts/MyScript.js" type="text/javascript"></script>

    <link href="/UserCotrols/My97DatePicker/skin/WdatePicker.css" rel="stylesheet" type="text/css" />
    <script src="/UserCotrols/My97DatePicker/WdatePicker.js" type="text/javascript"></script>

    <script src="../../Scripts/jquery-1.7.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        //关闭页面
        function FORM_CLOSE() {

            var index = top.layer.getFrameIndex(window.name); //获取窗口索引
            try {
                top.$("#layui-layer" + index + " .layui-layer-close").click();
            } catch (e) {
                //强制关闭页面
                try {
                    top.layer.close(index);
                } catch (e) {

                }
            }
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td valign="top">
                <div class="main_show_show">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%" class="table">
                        <tr>
                            <td class="lefttd">公司名称：
                            </td>
                            <td class="righttd">
                                <uc2:CtrlCompany runat="server" ID="FORM_COMPANY_ID" Width="180px" />
                                <font style="color: Red">*</font>
                            </td>
                            <td class="lefttd">公告类型：
                            </td>
                            <td class="righttd">
                                <asp:DropDownList ID="FORM_TYPE" CssClass="lblName" runat="server" Width="180px" Enabled="false"
                                    Height="20px" BackColor="WhiteSmoke">
                                    <asp:ListItem Value="-1">---请选择---</asp:ListItem>
                                    <asp:ListItem Value="0">系统消息</asp:ListItem>
                                    <asp:ListItem Value="1" Selected="True">发布消息</asp:ListItem>
                                </asp:DropDownList>
                                <font style="color: Red">*</font>
                            </td>
                        </tr>
                        <tr>
                            <td class="lefttd">到期时间：
                            </td>
                            <td class="righttd">
                                <input id="txtEndTime" runat="server" class="Wdate" style="width: 180px;" type="text"
                                    onclick=" WdatePicker()" />
                                <span style="color: Red;">*</span>
                            </td>
                            <td class="lefttd">状态：
                            </td>
                            <td class="righttd">
                                <asp:DropDownList ID="FORM_STATE" CssClass="lblName" runat="server" Width="180px"
                                    Height="20px">
                                    <asp:ListItem Value="-1">---请选择---</asp:ListItem>
                                    <asp:ListItem Value="0">无效</asp:ListItem>
                                    <asp:ListItem Value="1">有效</asp:ListItem>
                                </asp:DropDownList>
                                <font style="color: Red">*</font>
                            </td>
                        </tr>
                        <tr>
                            <td class="lefttd">公告标题：
                            </td>
                            <td class="righttd">
                                <asp:TextBox ID="txtName" CssClass="txt_input" Width="180px" TabIndex="3" runat="server"
                                    Height="21px"></asp:TextBox>
                                <font style="color: Red">*</font>
                            </td>
                            <td class="lefttd">备注：
                            </td>
                            <td class="righttd">
                                <textarea rows="2" cols="20" style="width: 180px;" runat="server" id="FORM_REMARK"></textarea>
                            </td>
                        </tr>
                        <tr>
                            <td class="lefttd">公告内容：
                            </td>
                            <td class="righttd" align="center" colspan="3">
                                <textarea rows="5" cols="30" style="width: 545px; margin-top: 7px;" runat="server"
                                    id="txtContent"></textarea>
                                <font style="color: Red">*</font>
                            </td>
                        </tr>
                        <tr>
                            <td style="padding-left: 40%;" colspan="4">
                                <asp:Button ID="btnSave" runat="server" CssClass="bt_css_s" Text="保存" OnClick="btnSave_Click" />&nbsp;
                                <asp:Button ID="Button1" runat="server" CssClass="bt_css_s" Text="返回" OnClick="btnReturn_Click" />
                            </td>
                        </tr>
                    </table>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>